﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FD.RemoteAssistant.Entities
{
    /*
     * CreatedOn: 2018-05-16
     * CreatedBy: Jackie Lee(天宇遊龍)
     */
    public class DataColumnItem
    {
        public string Name { get; set; }
        public string Text { get; set; }
        public string DataName { get; set; }
        public int Width { get; set; }

        public DataColumnType DataColumnType { get; set; }

        /// <summary>
        /// 是否必填
        /// </summary>
        public bool IsRequired { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrMessage { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int SortIndex { get; set; }
    }

    public enum DataColumnType
    {
        Text,
        DateTime,
        CheckBox,
        Password,
        Button
    }
}
